Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(examples/build): do not require stop to end trunk #1713

Merged
merged 2 commits into from
Sep 14, 2023

Conversation

agilarity
Copy link
Contributor

@agilarity agilarity commented Sep 14, 2023

READY FOR REVIEW

Do not run trunk in a separate process.

Verification

From the examples/login_with_token_csr_only directory...

Should stop trunk with CTRL+C

  1. Run cargo make status (Terminal 1) - Output reports client and server are not running
  2. Run cargo make start (Terminal 1)
  3. Run cargo make status (Terminal 2) - Output reports client and server are up
  4. Execute CTRL+C (Terminal 1)
  5. Run cargo make status (Terminal 2) - Output reports client is not running and server is up
  6. Run cargo make stop (Terminal 2)
  7. Run cargo make status (Terminal 2) - Output reports client and server are not running

Should stop trunk with cargo make stop

  1. Run cargo make status (Terminal 1) - Output reports client and server are not running
  2. Run cargo make start (Terminal 1)
  3. Run cargo make status (Terminal 2) - Output reports client and server are up
  4. Run cargo make stop (Terminal 2)
  5. Run cargo make status (Terminal 2) - Output reports client and server are not running

Closes #1712

@gbj gbj merged commit 1a589fc into leptos-rs:main Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fix(examples/build): do not require stop to end trunk
2 participants